package com.yyt.elasticsearch;


import com.alibaba.fastjson.JSON;
import com.yyt.elasticsearch.bean.Employer;

public class test {

    public static void main(String[] args) {
        Employer user = new Employer(
                "alex",
                12,
                "a big man live in China",
                new String[] {"handsome", "humor"});
        System.out.println(JSON.toJSON(user));
    }
}
